<!-- INCLUDE overall_header.html -->

<!--
 @package RCB - R/C Booking
 @version $Id$
 @copyright (c) 2008/9 Scott Deakin
 @license http://opensource.org/licenses/gpl-license.php GNU Public License
-->

<form id="ucp" method="post" action="edit.php">
<div class="panel bg3">

	<div class="inner"><span class="corners-top"><span></span></span>

	<h2>{L_RCB_MEET_DETAILS}</h2>

	<div id="cp-main" class="ucp-main">

		<div class="panel">
			<div class="inner"><span class="corners-top"><span></span></span>

			
			<fieldset>
				<dl>
					<dt><label for="date">{L_RCB_MEET_DATE}:</label><br /><span>Input date in the format YYYY-MM-DD</span></dt>
					<dd><input type="text" name="date" id="date" size="14" maxlength="14" value="{DATE}" class="inputbox autowidth" title="Meeting Date" /></dd>
				</dl>
				<dl>
					<dt><label for="description">{L_RCB_MEET_DESC}:</label></dt>
					<dd><input type="text" name="description" id="description" size="80" maxlength="100" value="{DESCRIPTION}" class="inputbox autowidth" title="Meeting Description" /></dd>
				</dl>
				<dl>
					<dt><label for="status">{L_RCB_MEET_STATUS}:</label></dt>
					<dd>
						<select name="status">
							<option value="Open" {S_STATUS_OPEN}>Open</option>
							<option value="Closed" {S_STATUS_CLOSED}>Closed</option>
							<option value="Cancelled" {S_STATUS_CANCELLED}>Cancelled</option>
						</select>
					</dd>
				</dl>
				</fieldset>
			<span class="corners-bottom"><span></span></span></div>

		</div>
	</div>
	<span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel bg3">
	<div class="inner"><span class="corners-top"><span></span></span>
	<h2>{L_RCB_CLASS_AVAIL}</h2>
	<div id="cp-main" class="ucp-main">

		<div class="panel">
			<div class="inner"><span class="corners-top"><span></span></span>
				 <table class="table1" cellspacing="1" id="meetinglist">
            		<thead>
                		<tr>
                    		<th>{L_RCB_CLASSID}</th>
                    		<th>{L_RCB_MAX_SIZE}</th>
                    		<th>{L_RCB_DESC}</th>
                    		<th>{L_RCB_AVAIL}</th>
							<th>{L_RCB_ACTION}</th>
                		</tr>
            		</thead>
					<tbody>
					<!-- BEGIN classrow -->
                		<tr class="bg1">
                    		<td><input type="hidden" name="class_id[{classrow.S_ROW_COUNT}]" 
										id="class_id[{classrow.S_ROW_COUNT}]" 
										value="{classrow.CLASS_ID}"  />
                    			<input type="text" name="rct_class[{classrow.S_ROW_COUNT}]" 
										id="rct_class[{classrow.S_ROW_COUNT}]" maxlength="4" 
										size="4" value="{classrow.RCT_CLASS}" 
										class="inputbox autowidth" title="RC Timing Class" /></td>
							</td>
							<td><input type="text" name="max_size[{classrow.S_ROW_COUNT}]" 
										id="max_size[{classrow.S_ROW_COUNT}]" maxlength="4" 
										size="4" value="{classrow.MAX_SIZE}" 
										class="inputbox autowidth" title="Maximum Drivers" /></td>
							</td>
                    		<td><input type="text" name="c_description[{classrow.S_ROW_COUNT}]" 
										id="c_description[{classrow.S_ROW_COUNT}]" maxlength="255" 
										size="60" value="{classrow.DESCRIPTION}" 
										class="inputbox autowidth" title="Description" /></td>
                    		<td><input type="checkbox" name="available[{classrow.S_ROW_COUNT}]" {classrow.S_CHECKED}></td>
                    		<td><a href="edit.php?meeting_id={MEETING_ID}&action=delete_class&class_id={classrow.CLASS_ID}">{L_RCB_A_DELETE}</a></td>
                		</tr>
					<!-- BEGINELSE -->
						<tr class="bg1">
							<td colspan="4">{L_RCB_NO_CLASSES}</td>
						</tr>
					<!-- END classrow -->
                		<tr class="bg1">
                    		<td><input type="text" name="new_rct_class" 
										id="new_rct_class" maxlength="4" 
										size="4" value="" 
										class="inputbox autowidth" title="RC Timing Class" /></td>
							</td>
                    		<td><input type="text" name="new_max_size" 
										id="new_max_size" maxlength="4" 
										size="4" value="" 
										class="inputbox autowidth" title="Maximum Drivers" /></td>
							</td>
                    		<td><input type="text" name="new_description" id="new_description" maxlength="255" 
									size="60" value="Add a new class here" 
									class="inputbox autowidth" title="Description" /></td>
                    		<td>&nbsp;</td>
                    		<td><input type="submit" name="submit" value="Add" class="button1" /></td>
                		</tr>
					</tbody>
				</table>
			<span class="corners-bottom"><span></span></span></div>
		</div>
	</div>
	<span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel bg3">
	<div class="inner"><span class="corners-top"><span></span></span>

		<fieldset class="submit-buttons">
			<input type="reset" value="Reset" name="reset" class="button2" />&nbsp; 
			<input type="submit" name="submit" value="Cancel" class="button1" />
			<input type="submit" name="submit" value="Submit" class="button1" />
			<input type="hidden" name="action" value="{S_ACTION}" />
			<input type="hidden" name="meeting_id" value="{MEETING_ID}" />
		</fieldset>
	<span class="corners-bottom"><span></span></span></div>
</div>

</form>
<!-- INCLUDE overall_footer.html -->

